﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Metriks.Parsiranje
{
    public class Cvor
    {
        public List<Cvor> Cvorovi { get; set; }
        public Cvor() {
            Cvorovi = new List<Cvor>();
        }
        public Cvor(List<Cvor> c){
            Cvorovi = c;
        }
        public Cvor(String s)
        {
            Cvorovi = new List<Cvor>();
            Tip = s;
        }

        public String Tip { get; set; }

        public override string ToString()
        {
            return (Tip == "") ? "Čvor" : Tip;
        }
    }
}
